package com.yanzhenjie.andserver;

import com.yanzhenjie.andserver.slice.MainAbilitySlice;
import ohos.aafwk.ability.Ability;
import ohos.aafwk.content.Intent;
import ohos.utils.IntentConstants;

public class MainAbility extends Ability {
    @Override
    public void onStart(Intent intent) {
        super.onStart(intent);
        super.setMainRoute(MainAbilitySlice.class.getName());
        addActionRoute(IntentConstants.ACTION_HIDISK_CHOOSE, MainAbilitySlice.class.getName());
    }
}
